package com.rds.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rds.common.annotation.Excel;
import com.rds.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * portal区域对象 rda_portal_area
 *
 * @author rds
 * @date 2021-10-22
 */
public class RdaPortalArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 行 */
    @Excel(name = "行")
    private String row;

    /** 列 */
    @Excel(name = "列")
    private String col;

    /** 对应portal的id */
    @Excel(name = "对应portal的id")
    private Long portalid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setModifyTime(Date modifyTime)
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime()
    {
        return modifyTime;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setRow(String row)
    {
        this.row = row;
    }

    public String getRow()
    {
        return row;
    }
    public void setCol(String col)
    {
        this.col = col;
    }

    public String getCol()
    {
        return col;
    }
    public void setPortalid(Long portalid)
    {
        this.portalid = portalid;
    }

    public Long getPortalid()
    {
        return portalid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("modifyTime", getModifyTime())
            .append("status", getStatus())
            .append("row", getRow())
            .append("col", getCol())
            .append("portalid", getPortalid())
            .toString();
    }
}
